<div class="hotels" id="hotels{$hotel.id}" style="display: block;">
	<strong>Property Description</strong><br />
	<div class="hotel-details-template">
		{$hotel.propertyDescription|unescape:"htmlall"}<br />
	</div>
	<strong>Hotel Policy</strong>
	{if isset($hotel.hotelPolicy)}
    <div class="hotel-details-template" style="margin-top: -30px;">{$hotel.hotelPolicy}</div>
	{else}
	<div class="hotel-details-template" >{$hotel.hotelPolicy}</div>
	{/if}
	<br />
	<div class="hotel-details-template">
		{if $hotel.checkInTime neq ""}<strong>Check-in:</strong> {$hotel.checkInTime} <br />{/if}
		{if $hotel.checkOutTime neq ""} <strong>Check-out:</strong> {$hotel.checkOutTime} <br /><br />{/if}
	</div>
    <strong>Amenities</strong><br />
		<div class="hotel-details-template">
    <table style="width: 940px;">
        <tbody>
            {foreach from=$hotel.propertyAmenities item=amenity}
                {if $amenity@first eq true}
                <tr>
                {/if}
                    <td><span id="amenity{$amenity.amenityId}" >{$amenity.amenity|unescape:"htmlall"}{if $amenity.append neq ""}{$amenity.append}{/if}</span></td>
                {if $amenity@first neq true}
                    {if $amenity@iteration is div by 4}
                    </tr>
                        {if $amenity@last neq true}
                        <tr>
                        {/if}    
                    {/if}
                {/if}
        {/foreach}
        </tbody>
	</table>
	</div>
</div>
